	</div><!-- content -->
	
	<div class="span5">
			<div class="well">
				<form method="get" action="/search" class="search form-inline">
	   							 <input type="text" class="span3 search-query" placeholder="Search" name="q" value="">
	    		<div class="dropdown pull-right">
		    		<a class="btn dropdown-toggle" data-toggle="dropdown" href="#">
						<i class="icon-cog"></i> Tools
						<b class="caret"></b>
					</a>
					<ul class="dropdown-menu">
						<li><a href="/"
						title="Home"><i class="icon-home"></i> Overview</a>
						</li>
						<li class="divider"></li>
						<li><a href="/import"><i class="icon-list-alt"></i> Import</a>
						<li><a href="/search"><i class="icon-search"></i> Advanced Search</a>
					</ul>
				</div>
	    		</form>
	    		<p class="muted">
	    			items:
	    			<a href="/b">
					 	<span class="badge badge-inverse">
					 		<i class="icon-white">&#931;</i>{{ noteCount + bookmarkCount }}
					 	</span>
					 </a>
					 &nbsp;=&nbsp;
					 <a href="/notes">
					 	<span class="badge badge-inverse">
					 		<i class="icon-file icon-white"></i>&nbsp; {{ noteCount }}
					 	</span>
					 </a>
					 &nbsp;+&nbsp;
					 <a href="/bm">
						 <span class="badge badge-inverse">
						 	<i class="icon-globe icon-white"></i>&nbsp; {{ bookmarkCount }}
						 </span>
					 </a>
				</p>
			</div>
			
			<div class="well" id="onsiteformContainer">
				{% module Template("snippet/itemForm.tag", item=item, action="add", legend="Add a new Item") %}
			</div>
	</div>
	</div> <!-- row -->
	
	<div class="row">
	<hr>
		<div class="row">
			<div class="muted span6">
				Knowtemarks by <a href="http://mfuchs.org/">Markus Fuchs</a>
			</div>
		</div>
	</div>
	
	</div><!-- container -->

	<script type="text/javascript" src="/static/js/jquery.js"></script>
	<script type="text/javascript" src="/static/js/jqueryui.js"></script>
	<script type="text/javascript" src="/static/js/tagman.js"></script>
	<script type="text/javascript" src="/static/js/bootstrap.min.js"></script>
	<script type="text/javascript" src="/static/js/jquery-jtemplates.js"></script>
	<script type="text/javascript" src="/static/js/main.js"></script>
</body>

</html>
